
<div class="module clearfix">
	<h2><?= $member['info']->name;?></h2>
	<div>

						
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">Barber Dashboard</h3>
			</div>
			<div class="panel-body  col-xs-12">
					<form role="form" method="POST"
						action="<?= base_url();?>member/tips_submit">
							<div class="form-group">
								<table class="table table-hover">

				<thead>
					<tr>

						<th>Title</th>
						<th>Description</th>
						<th>Status</th>
						<th>Action</th>
					</tr>
				</thead>
				<tbody>
				<?php if($profile['info']){?>
					<tr>

						<td><?= $profile['info']->title;?></td>
						<td><?= substr($profile['info']->description,0,50);?></td>
						<td>
						<?php if($profile['info']->status == '51'){?>
						<div class="badge">
						Active
						</div>
						<?php }else{?>
						<div class="badge">
						Inactive
						</div>
						<?php }?>
						</td>
						<th>
						<?php if($profile['info']->status == '51'){?>
						<a data-toggle="tooltip" title="View" href="<?= base_url();?>profile/<?= $this->commoncall->url($profile['info']->title);?>-<?= $profile['info']->id;?>"
							class="btn btn-default btn-xs"><span
								class="glyphicon glyphicon-folder-open"></span> </a>
								<?php }?>
						<a data-toggle="tooltip" title="Edit" href="<?= base_url();?>member/profile/edit"
							class="btn btn-default btn-xs"><span
								class="glyphicon glyphicon-pencil"></span> </a> <a
							data-toggle="tooltip" title="Delete" href="<?= base_url();?>member/delete/<?= $profile['info']->id;?>" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Not allowed in demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');">
							<i class="btn btn-default btn-xs"><span
								class="glyphicon glyphicon-trash"></span> </a></th>


					</tr>
					<?php }?>
				</tbody>
			</table>
							</div>
				
			
			</form>
			</div>
			
			
		</div>
		
		
	</div>
</div>







<div class="module clearfix">
	<div>
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">BUSINESS</h3>
			</div>
			<div class="panel-body  col-xs-12">
					<form role="form" method="POST"
						action="<?= base_url();?>member/tips_submit">
							<div class="form-group">
								<table class="table table-hover">

				<thead>
					<tr>

						<th>Title</th>
						<th>Description</th>
						<th>Status</th>
						<th>Action</th>
					</tr>
				</thead>
				<tbody>
				<?php foreach($sale as $sale):?>
					<tr>

						<td><?= $sale->title;?></td>
						<td><?= substr($sale->description,0,50);?></td>
						<td>
						<?php if($sale->status == '51'){?>
						<div class="badge">
						Active
						</div>
						<?php }else{?>
						<div class="badge">
						Inactive
						</div>
						<?php }?>
						</td>
						<th>
						<?php if($sale->status == '51'){?>
						<a data-toggle="tooltip" title="View" href="#"
							class="btn btn-default btn-xs"><span
								class="glyphicon glyphicon-folder-open"></span> </a>
								<?php }?>
						<a data-toggle="tooltip" title="Edit" href="<?= base_url();?>member/sale/edit/<?= $sale->id;?>"
							class="btn btn-default btn-xs"><span
								class="glyphicon glyphicon-pencil"></span> </a> <a
							data-toggle="tooltip" title="Delete" href="<?= base_url();?>member/sale/delete/<?= $sale->id;?>" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Not allowed in demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');">
							<i class="btn btn-default btn-xs"><span
								class="glyphicon glyphicon-trash"></span> </a></th>


					</tr>
					<?php endforeach;?>
				
				</tbody>
			</table>
							</div>
				
			
			</form>
			</div>
			
			
		</div>
		
		
	</div>
</div>

